package com.pingan.haofang.searchcloud.api.query.parser.context;

import com.pingan.haofang.searchcloud.api.matedata.IndexMetadataHolder;

/**
 * ClassName: SqlExecutionContext.java <br>
 * Function: SQL执行上下文
 *
 * @author LUYI374
 * @version 1.0.0
 * @since 1.0.0
 * @date 20160719
 */
public class SqlExecutionContext {

    /**
     * 原始SQL
     */
    private String sql;

    /**
     * METADATA
     */
    private IndexMetadataHolder metadataHolder;

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public IndexMetadataHolder getMetadataHolder() {
        return metadataHolder;
    }

    public void setMetadataHolder(IndexMetadataHolder metadataHolder) {
        this.metadataHolder = metadataHolder;
    }
}
